package com.mk.model.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mk.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 9:52 AM 3/15/18
 */
@TableName("sys_dir")
public class Dir extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    private String title;
    private Long parent;

    @TableField(exist = false)
    private Integer rGrant;
    @TableField(exist = false)
    private Integer wGrant;
    @TableField(exist = false)
    private Integer dGrant;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getParent() {
        return parent;
    }

    public void setParent(Long parent) {
        this.parent = parent;
    }

    public Integer getrGrant() {
        return rGrant;
    }

    public void setrGrant(Integer rGrant) {
        this.rGrant = rGrant;
    }

    public Integer getwGrant() {
        return wGrant;
    }

    public void setwGrant(Integer wGrant) {
        this.wGrant = wGrant;
    }

    public Integer getdGrant() {
        return dGrant;
    }

    public void setdGrant(Integer dGrant) {
        this.dGrant = dGrant;
    }
}
